package com.glink.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glink.manage.domain.PatrolIntelligentEquipChannel;
import com.glink.manage.dto.video.PatrolIntelligentEquipChannelNvrDTO;
import com.glink.manage.vo.video.PatrolIntelligentEquipChannelNvrVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author  glink
 * @since  2025/1/9
 */
public interface PatrolIntelligentEquipChannelMapper extends BaseMapper<PatrolIntelligentEquipChannel> {
    //IPage<PatrolIntelligentEquipChannelNvrVO> findPage(Page<PatrolIntelligentEquipChannel> page, @Param("ew") PatrolIntelligentEquipChannelNvrDTO dto);

    IPage<PatrolIntelligentEquipChannelNvrVO> findPage(Page<PatrolIntelligentEquipChannel> page,@Param("searchName")String searchName, @Param("workIds") List<String> workIds);

    IPage<PatrolIntelligentEquipChannelNvrVO> findNoHomeSetChannelListPage(Page<PatrolIntelligentEquipChannel> page,@Param("searchName")String searchName, @Param("workSiteIds") List<String> workSiteIds,@Param("homeSetChannelIds")List<String> homeSetChannelIds);
}
